Average sentence length |
---|
22.8401 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.3500 |
4 | 0.7300 |
5 | 1.3400 |
6 | 1.7200 |
7 | 1.7600 |
8 | 1.8700 |
9 | 2.1200 |
10 | 2.3400 |
11 | 2.2000 |
12 | 2.4300 |
13 | 2.7900 |
14 | 2.9500 |
15 | 2.7600 |
16 | 3.6100 |
17 | 3.2700 |
18 | 3.4000 |
19 | 3.3500 |
20 | 3.4800 |
21 | 3.3800 |
22 | 3.7400 |
23 | 3.7900 |
24 | 3.5100 |
25 | 3.5400 |
26 | 3.2200 |
27 | 3.2100 |
28 | 3.0600 |
29 | 2.6800 |
30 | 2.9000 |
31 | 2.5700 |
32 | 2.5400 |
33 | 2.9100 |
34 | 2.2300 |
35 | 2.3500 |
36 | 1.9300 |
37 | 1.9100 |
38 | 1.9400 |
39 | 1.6400 |
40 | 1.5500 |
41 | 1.0400 |
42 | 0.7100 |
43 | 0.4700 |
44 | 0.3000 |
45 | 0.2000 |
46 | 0.0900 |
47 | 0.0400 |
48 | 0.0500 |
49 | 0.0200 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters